package com.aaa.mapper;

import com.aaa.entity.Function;
import org.apache.ibatis.annotations.CacheNamespace;

import java.util.List;
import java.util.Map;
import java.util.Set;

@CacheNamespace
public interface FunctionMapper{
    //路由查询方法
    List<Function> query();
    //查询
    Set<String> find(Integer sid);

    //根据用户登录信息查询菜单
    List<Map> findlist(String sname);

    //查询全部菜单信心
    List<Map<String,Object>> findAll();

    List<Map> findbyidto(Integer id);
}
